﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{

    /// <summary>
    /// 仓库调拨产品表
    /// </summary>
    [SugarTable("AllocationProducts")]
    public class AllocationProducts: Audit
    {
        /// <summary>
        /// 仓库调拨产品id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int AllocationProductsId { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string? ANumber { get; set; }

        /// <summary>
        /// 调拨数量
        /// </summary>
        public int? APAllocateNum { get; set; }

        /// <summary>
        /// 入库仓库
        /// </summary>
        public string? APInboundWarehouse { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? PNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? PName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? PSpec { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? PUnit { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WName { get; set; }
        /// <summary>
        /// 申请入库数
        /// </summary>
        public int? SPConfirmNum { get; set; }
    }
}
